Option Explicit
'OҲAppEventCls
Public WithEvents myApp As Application
Private Sub myApp_WorkbookActivate(ByVal Wb As Workbook)
    MsgBox Wb.Name & "Active]ҥΡ^AC by Application"
End Sub

'зǼҲ
Dim myAppCls As New AppEventCls
Sub InitializeAppEvent()
  Set myAppCls.myApp = Application
End Sub
